package com.fxsen.commons.sysmanager.core.entity;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fxsen.commons.core.base.common.entity.BaseEntity;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.TableComment;
import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 系统角色表(SysRole)表实体类
 *
 * @author <a href="mailto:fuqiang@wisesoft.net.cn">付强</a>
 * @since 2022-01-19 17:10:29
 */
@ApiModel("角色")
@TableName("sys_role")
@TableComment(value = "角色表")
public class Role extends BaseEntity {
    /**
     * 角色名称
     */
    @ApiModelProperty("角色名称")
    @TableField(value = "name")
    @Column(name = "name", type = MySqlTypeConstant.VARCHAR, comment = "角色名称",length = 100)
    private String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}

